﻿@model IList<ProductOverviewModel>

@using Autofac
@using Nop.Core
@using Nop.Core.Domain.Customers
@using Nop.Web.Models.Catalog;
@{
    var isLogin = (bool)ViewData["IsLogin"];
}

@if (Model.Count > 0)
{
    <h2 class="list-section-title">@T("Products.AlsoPurchased")</h2>
    <div class="product-container product-container-carousel">
    @foreach (var item in Model)
    {
        @Html.Partial("_ProductBox", item,new ViewDataDictionary()
        {
             { "IsLogin", isLogin }
        })
    }
    </div>

}